//
//  InspectorViewController.m
//  Estate
//
//  Created by wangdongdong on 16/9/6.
//  Copyright © 2016年 ttsx. All rights reserved.
//

#import "InspectorViewController.h"
#import "InspectorGtasksViewController.h"
#import "InspectorDoneViewController.h"

@interface InspectorViewController ()
@end

@implementation InspectorViewController

- (void)viewDidLoad {
    // 待办巡检任务
    InspectorGtasksViewController *gtasksInspectionVC = [[InspectorGtasksViewController alloc] init];
    // 已完成巡检任务
    InspectorDoneViewController *doneInspectionVC = [[InspectorDoneViewController alloc] init];
    // 选择器数组
    self.headerSegmentArr = [[NSArray alloc]initWithObjects:@"待办任务",@"已完成任务",nil];
    // 控制器数组
    self.VCArr = [[NSArray alloc] initWithObjects:gtasksInspectionVC, doneInspectionVC, nil];
    
    [super viewDidLoad];
}

@end
